package com.wufeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 评测问题表
 * @TableName evaluate_question
 */
@TableName(value ="evaluate_question")
@Data
public class EvaluateQuestion implements Serializable {
    /**
     * 问题主键
     */
    @TableId(value = "questionId", type = IdType.AUTO)
    private Integer questionid;

    /**
     * 评测主键，外键关联到evaluate表的evaluateId
     */
    @TableField(value = "evaluateId")
    private Integer evaluateid;

    /**
     * 问题标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 图片
     */
    @TableField(value = "image")
    private String image;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}